package com.sitech.ibnms.c3p.task.listeners;

import com.sitech.ibnms.c3p.domain.C3pTask;
import com.sitech.ismp.workflow.domain.ProcessInstance;

/**
 * Created by leo on 15/7/8.
 */
public interface TaskFailedListener {
    /**
     * 任务失败
     *
     * @param c3pTask
     * @param processInstance
     * @param failReason
     * @throws Exception
     */
    void onFailed(C3pTask c3pTask, ProcessInstance processInstance, String failReason) throws Exception;
}
